Optimal. Leaf size=111 \[ \frac {f (i+c x) \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {b f \left (1+c^2 x^2\right )^{3/2} \log (i-c x)}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 6, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {5796, 651,
5837, 12, 641, 31} \begin {gather*} \frac {f (c x+i) \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {b f \left (c^2 x^2+1\right )^{3/2} \log (-c x+i)}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 31
Rule 641
Rule 651
Rule 5796
Rule 5837
Rubi steps
\begin {align*} \int \frac {a+b \sinh ^{-1}(c x)}{(d+i c d x)^{3/2} \sqrt {f-i c f x}} \, dx &=\frac {\left (1+c^2 x^2\right )^{3/2} \int \frac {(f-i c f x) \left (a+b \sinh ^{-1}(c x)\right )}{\left (1+c^2 x^2\right )^{3/2}} \, dx}{(d+i c d x)^{3/2} (f-i c f x)^{3/2}}\\ &=\frac {f (i+c x) \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {\left (b c \left (1+c^2 x^2\right )^{3/2}\right ) \int \frac {f (i+c x)}{c \left (1+c^2 x^2\right )} \, dx}{(d+i c d x)^{3/2} (f-i c f x)^{3/2}}\\ &=\frac {f (i+c x) \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {\left (b f \left (1+c^2 x^2\right )^{3/2}\right ) \int \frac {i+c x}{1+c^2 x^2} \, dx}{(d+i c d x)^{3/2} (f-i c f x)^{3/2}}\\ &=\frac {f (i+c x) \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {\left (b f \left (1+c^2 x^2\right )^{3/2}\right ) \int \frac {1}{-i+c x} \, dx}{(d+i c d x)^{3/2} (f-i c f x)^{3/2}}\\ &=\frac {f (i+c x) \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}-\frac {b f \left (1+c^2 x^2\right )^{3/2} \log (i-c x)}{c (d+i c d x)^{3/2} (f-i c f x)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 113, normalized size = 1.02 \begin {gather*} \frac {\sqrt {d+i c d x} \sqrt {f-i c f x} \left (a \sqrt {1+c^2 x^2}+b \sqrt {1+c^2 x^2} \sinh ^{-1}(c x)+b (i-c x) \log (d+i c d x)\right )}{c d^2 f (-i+c x) \sqrt {1+c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {a +b \arcsinh \left (c x \right )}{\left (i c d x +d \right )^{\frac {3}{2}} \sqrt {-i c f x +f}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 98, normalized size = 0.88 \begin {gather*} \frac {i \, \sqrt {c^{2} d f x^{2} + d f} b \operatorname {arsinh}\left (c x\right )}{i \, c^{2} d^{2} f x + c d^{2} f} + \frac {i \, \sqrt {c^{2} d f x^{2} + d f} a}{i \, c^{2} d^{2} f x + c d^{2} f} - \frac {b \log \left (i \, c x + 1\right )}{c d^{\frac {3}{2}} \sqrt {f}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 443 vs. \(2 (89) = 178\).
time = 0.45, size = 443, normalized size = 3.99 \begin {gather*} \frac {2 \, \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} b \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) + {\left (c^{2} d^{2} f x - i \, c d^{2} f\right )} \sqrt {\frac {b^{2}}{c^{2} d^{3} f}} \log \left (-\frac {{\left (i \, b c^{6} x^{2} + 2 \, b c^{5} x - 2 i \, b c^{4}\right )} \sqrt {c^{2} x^{2} + 1} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} - {\left (i \, c^{9} d^{2} f x^{4} + 2 \, c^{8} d^{2} f x^{3} + i \, c^{7} d^{2} f x^{2} + 2 \, c^{6} d^{2} f x\right )} \sqrt {\frac {b^{2}}{c^{2} d^{3} f}}}{8 \, {\left (b c^{3} x^{3} - i \, b c^{2} x^{2} + b c x - i \, b\right )}}\right ) - {\left (c^{2} d^{2} f x - i \, c d^{2} f\right )} \sqrt {\frac {b^{2}}{c^{2} d^{3} f}} \log \left (-\frac {{\left (i \, b c^{6} x^{2} + 2 \, b c^{5} x - 2 i \, b c^{4}\right )} \sqrt {c^{2} x^{2} + 1} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} - {\left (-i \, c^{9} d^{2} f x^{4} - 2 \, c^{8} d^{2} f x^{3} - i \, c^{7} d^{2} f x^{2} - 2 \, c^{6} d^{2} f x\right )} \sqrt {\frac {b^{2}}{c^{2} d^{3} f}}}{8 \, {\left (b c^{3} x^{3} - i \, b c^{2} x^{2} + b c x - i \, b\right )}}\right ) + 2 \, \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} a}{2 \, {\left (c^{2} d^{2} f x - i \, c d^{2} f\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asinh}{\left (c x \right )}}{\left (i d \left (c x - i\right )\right )^{\frac {3}{2}} \sqrt {- i f \left (c x + i\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\mathrm {asinh}\left (c\,x\right )}{{\left (d+c\,d\,x\,1{}\mathrm {i}\right )}^{3/2}\,\sqrt {f-c\,f\,x\,1{}\mathrm {i}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________